<?php
/**
 * WB_UserManager class
 * 
 * - Uses 'PDOObjStore' for LOCAL repository (i.e. cache)
 * - Uses 'S3ObjStore' for GLOBAL repository
 * 
 * @author Jean-Lou Dupont
 * @version @@package-version@@
 * @id $Id: UserManager.php 165 2008-03-31 01:38:34Z jldupont $
 */
/**
 * 
 * Use Cases:
 * ==========
 * - Attach User
 * - Detach User With ID
 * - Detach User with Name
 * - Get User From ID
 * - Get User From Name
 */
 //{{include
#require_once 'web-bloks/ObjFactory/ObjFactory.php';
 //include}}
 
 class WB_UserManager
 	extends WB_ObjManager
 {
	
 	/**
 	 * Constructor
 	 */
	public function __construct( $params = null )
	{
		parent::__construct( $params );
	}
	// %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%		
	// Interface
	// %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%			
	public function getUserFromId( &$id )
	{
		
	}
	public function getUserFromName( &$name )
	{
		
	}
	public function attachNameToUserUsingId( &$id, &$name )
	{
		
	}
	public function updateUserUsingId( &$id, &$userData )
	{
		
	}
	public function updateUserUsingName( &$name, &$userData )
	{
		
	}
	public function deleteUserFromId( &$id )
	{
		
	}
	public function deleteUserFromName( &$name )
	{
		
	}
	// %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
	// WB_BaseClass
	// %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%	
	/**
	 * @see WB_BaseClass::getClassPath
	 */
	public function getClassPath()
	{
		return 'web-bloks/UserManager';
	}
	/**
	 * @see WB_BaseClass::getClassVersion
	 * @return 
	 */
	public function getClassVersion()
	{
		return '$Id: UserManager.php 165 2008-03-31 01:38:34Z jldupont $';
	}
	
	
 } // end class declaration